package com.hzlx.operations.mapper;

import java.util.List;
import com.hzlx.operations.domain.Operations;

/**
 * 工序Mapper接口
 * 
 * @author ruoyi
 * @date 2025-07-01
 */
public interface OperationsMapper 
{
    /**
     * 查询工序
     * 
     * @param operationId 工序主键
     * @return 工序
     */




    public Operations getOperationWithParams(Long operationId);
    public Operations selectOperationsByOperationId(Long operationId);

    /**
     * 查询工序列表
     * 
     * @param operations 工序
     * @return 工序集合
     */
    public List<Operations> selectOperationsList(Operations operations);

    /**
     * 新增工序
     * 
     * @param operations 工序
     * @return 结果
     */
    public int insertOperations(Operations operations);

    /**
     * 修改工序
     * 
     * @param operations 工序
     * @return 结果
     */
    public int updateOperations(Operations operations);

    /**
     * 删除工序
     * 
     * @param operationId 工序主键
     * @return 结果
     */
    public int deleteOperationsByOperationId(Long operationId);

    /**
     * 批量删除工序
     * 
     * @param operationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOperationsByOperationIds(Long[] operationIds);
}
